//
//  DDEditInfoCell.m
//  DingDongZP
//
//  Created by zurich on 16/3/30.
//  Copyright © 2016年 iyhjiang.com. All rights reserved.
//

#import "DDEditInfoCell.h"

@implementation DDEditInfoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.headerImageView.layer.masksToBounds = YES;
    
    self.infoLabel.textColor = COLOR_FONT_LIGHT_GREEN;
}

- (void)updateConstraints{
    
    [super updateConstraints];
    self.headerImageView.layer.cornerRadius = self.headerImageView.width/2.0;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.headerImageView.width = CGRectGetHeight(self.frame)*0.8;
    self.headerImageView.height = self.headerImageView.width;
    self.headerImageView.layer.cornerRadius = self.headerImageView.width/2.0;
    self.headerImageView.layer.masksToBounds = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
